<template>
  <div id="app">
    <MyVideo :title-bar="title" :next-btn="nextBtn" @next="next" :options="videoOptions"></MyVideo>
  </div>
</template>

<script>
import MyVideo from "@/components/MyVideo";

export default {
  name: 'App',
  components:{MyVideo},
  data(){
    return {
      title:'title',
      nextBtn:true,
      videoOptions:{
        width: "640px",
        height: "268px",
        controls: true,
        sources: [
          {
            src: "http://localhost:3000/a-wZsAdNNzWJN_hnpmXXNeOy.mp4",
            type: "video/mp4"
          }
        ]
      }
    }
  },
  methods:{
    next(){
      console.log('aaaaaaaa');
    },

  }
}
</script>

<style>

</style>
